Wow, just made it work with the similar code few minutes ago. Thanks @OOPer.
The question for me also whether this approach is good for such task?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: